# -*- coding:utf-8 -*-
# @FileName  :user.py
# @Time      :2023/11/22 18:52
# @Author    :lin

host = "b23015135@st.sandau.edu.cn"  # 本人收件人用于接收调试信息
account = 'lincaiwei7@qq.com'  # 邮箱账号
authorization_code = 'wfisxjsdbwxrdgdf'  # 邮箱授权码
info_list = [
    [
        "徐万顺", "b23015135@st.sandau.edu.cn", "1681596311715119106",
        {
            'content-type': 'application/json;charset=UTF-8',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0',
            'X-Id-Token': 'eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJiMjMwMTUxMzUiLCJpc3MiOiJjYXMuc2FuZGF1LmVkdS5jbiIsIkFUVFJfaWRlbnRpdHlUeXBlSWQiOiI2NmI4ODI2MDAxOGMxMWVjZTM0ZWQxMjUyMDU5YWVjNyIsIkFUVFJfYWNjb3VudElkIjoiODkzZmFiNzEzZjMyMTFlZTM1NmU5Y2MxNzBhYmExYWEiLCJBVFRSX3VzZXJJZCI6Ijg5MmY3ZWQwM2YzMjExZWUzNTZlOWNjMTcwYWJhMWFhIiwiQVRUUl9uYW1lIjoi5b6Q5LiH6aG6IiwiQVRUUl9pZGVudGl0eVR5cGVDb2RlIjoic3R1ZGVudCIsIkFUVFJfaWRlbnRpdHlUeXBlTmFtZSI6IuWtpueUnyIsIkFUVFJfb3JnYW5pemF0aW9uTmFtZSI6IuS_oeaBr-enkeWtpuS4juaKgOacr-WtpumZoiIsIkFUVFJfdXNlck5hbWUiOiLlvpDkuIfpoboiLCJleHAiOjE3MDEzNTg4NDEsIkFUVFJfb3JnYW5pemF0aW9uSWQiOiJGMjAwMDAwIiwiaWF0IjoxNzAxMTg2MDQxLCJqdGkiOiJJRC1Ub2tlbi01NTY0ODQtUjljM2Q0ZkgtcXdTekpBZ2RDVGFmbi02RFFrVVB0WnciLCJyZXEiOiLlrablt6UiLCJBVFRSX29yZ2FuaXphdGlvbkNvZGUiOiJGMjAwMDAwIn0.BQwLboSKbm7BKhxd3i0UizdfbEi_tRzph9k--xwNdFX8z52OFdqRArtlY5Oo20dkQpLtzFjfMOUxYYiaOlQXWo4sSPTyJ0FakkWLjS3d7VmrlpJPAUSjmWymKQDedPbDhL11VIJqXOVexNcI2fkx6Ma2KVUMMD0e85_GoPTiN5Y2Wrh6Ehhd1XXeoLonSdkpysziCUiVRpF-SHDrlXhfbwuPqlYKDfxGvYYC2pX8ISCFgluAt_tVMyL669wVt11_KUyjgYPhbhu_aV58j3RD5uYWrpWMMeA1xqlGktBwkEHO8BCvGePOoNUTIEr5T06dnGt-dJp7UblqlXqH26HqkA'
        },
    ],
    [
        "徐硕", "1223156955@qq.com", "1681596320820953103",
        {
            'content-type': 'application/json;charset=UTF-8',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36',
            'X-Id-Token': 'eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJiMjMwMTUxMzQiLCJpc3MiOiJjYXMuc2FuZGF1LmVkdS5jbiIsIkFUVFJfaWRlbnRpdHlUeXBlSWQiOiI2NmI4ODI2MDAxOGMxMWVjZTM0ZWQxMjUyMDU5YWVjNyIsIkFUVFJfYWNjb3VudElkIjoiOGJjMjVlYjAzZjMyMTFlZTM1NmU5Y2MxNzBhYmExYWEiLCJBVFRSX3VzZXJJZCI6IjhiYjMxYzcwM2YzMjExZWUzNTZlOWNjMTcwYWJhMWFhIiwiQVRUUl9uYW1lIjoi5b6Q56GVIiwiQVRUUl9pZGVudGl0eVR5cGVDb2RlIjoic3R1ZGVudCIsIkFUVFJfaWRlbnRpdHlUeXBlTmFtZSI6IuWtpueUnyIsIkFUVFJfb3JnYW5pemF0aW9uTmFtZSI6IuS_oeaBr-enkeWtpuS4juaKgOacr-WtpumZoiIsIkFUVFJfdXNlck5hbWUiOiLlvpDnoZUiLCJleHAiOjE3MDA4MTQ0MDcsIkFUVFJfb3JnYW5pemF0aW9uSWQiOiJGMjAwMDAwIiwiaWF0IjoxNzAwNjQxNjA3LCJqdGkiOiJJRC1Ub2tlbi00OTY1NTAtOEtUY2Z5YUlVU2Zra3F1S3BsY3JvOWg1ck1EYktwTXEiLCJyZXEiOiLlrablt6UiLCJBVFRSX29yZ2FuaXphdGlvbkNvZGUiOiJGMjAwMDAwIn0.w9O2yYuXOGTNalSKEsRXAcBNXe_aS9u2dETm9pA2j8t-lPl9Nl6VuAdRohwuD4i6YTMOTXmMXIV-c8CJHayRNJuoxRWH6QUJwvUVg-CZNf2o4iVyzXCIAuIkeR4N8T7PY5e2omfcAlwS4DHf0oNT60ohXbXf2qrdRDkUbhXU3FLdFrhVaT_PXfd1cQyN9wY47HLNKw2r1ZvlKufAUwmXW1xH4HuVCbHvanOO1UKvHwdLrfu7i0zpb3ElpNR6iEbS0XXL5tRiqGKVv6zPo9HL5M6CVv1SxYkDITkpGqxZsc2NYtYDJBXLHgpN3JMHsmqHGXB05qjwnFlUTEt86Wn6eA'
        },
    ],
    [
        "马鑫宇", "1223156955@qq.com", "1681596320774815754",
        {
            'content-type': 'application/json;charset=UTF-8',
            'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0',
            'x-id-token': 'eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJiMjMwMTUxMDUiLCJpc3MiOiJjYXMuc2FuZGF1LmVkdS5jbiIsIkFUVFJfaWRlbnRpdHlUeXBlSWQiOiI2NmI4ODI2MDAxOGMxMWVjZTM0ZWQxMjUyMDU5YWVjNyIsIkFUVFJfYWNjb3VudElkIjoiMTA3YjU5YzAzZjM1MTFlZTc3NGI4YWFmNGU4M2QyMTAiLCJBVFRSX3VzZXJJZCI6IjEwNmJmMDcwM2YzNTExZWU3NzRiOGFhZjRlODNkMjEwIiwiQVRUUl9uYW1lIjoi6ams6ZGr5a6HIiwiQVRUUl9pZGVudGl0eVR5cGVDb2RlIjoic3R1ZGVudCIsIkFUVFJfaWRlbnRpdHlUeXBlTmFtZSI6IuWtpueUnyIsIkFUVFJfb3JnYW5pemF0aW9uTmFtZSI6IuS_oeaBr-enkeWtpuS4juaKgOacr-WtpumZoiIsIkFUVFJfdXNlck5hbWUiOiLpqazpkavlrociLCJleHAiOjE3MDE0MjMwMjcsIkFUVFJfb3JnYW5pemF0aW9uSWQiOiJGMjAwMDAwIiwiaWF0IjoxNzAxMjUwMjI3LCJqdGkiOiJJRC1Ub2tlbi01NjMyMzQtOEpZeC02RG5XRXhZTE8yanY2MllURGRYZHBqRlBBZU8iLCJyZXEiOiLlrablt6UiLCJBVFRSX29yZ2FuaXphdGlvbkNvZGUiOiJGMjAwMDAwIn0.Rk5EMGrbH57iVVHUYO6-vRrcq0vgchW-3g0Io9gbEekOD_zhXBhpEiH3xkm1-A1dfNoLjdh5yPx-uI-F2yBvHXWVgDvmU0T3rWd03uppNADx2lQbcJ4QL_0j6qIIlIHKdueGuuqpPHubZSLuewo5C7fKV_E-dsth13ctEC0yG0ntC5xY-u2vIn_w6L9lOrrIbL222_cO4eFo08CsrXe-OWTqZwNo5jJSaGO8hQuVuqa_4E3EOnyeOhkGPOw8S_3yAYXfXb0JVu7wLLviHyVFDTc22eB-ioHAVxU96UV6pUJ4x7C_gKY9w-vR3ow_lX9uB819Wq7jorvGp1KiR-wnuw'
        },
    ],
    [
        "王谦", "1968296837@qq.com", "1681596311702536204",
        {
            'content-type': 'application/json;charset=UTF-8',
            'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36',
            'x-id-token': 'eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJiMjMwMTUxMzAiLCJpc3MiOiJjYXMuc2FuZGF1LmVkdS5jbiIsIkFUVFJfaWRlbnRpdHlUeXBlSWQiOiI2NmI4ODI2MDAxOGMxMWVjZTM0ZWQxMjUyMDU5YWVjNyIsIkFUVFJfYWNjb3VudElkIjoiYTY1YTNiMzAzZjMyMTFlZTc3NGI4YWFmNGU4M2QyMTAiLCJBVFRSX3VzZXJJZCI6ImE2NGEzNWEwM2YzMjExZWU3NzRiOGFhZjRlODNkMjEwIiwiQVRUUl9uYW1lIjoi546L6LCmIiwiQVRUUl9pZGVudGl0eVR5cGVDb2RlIjoic3R1ZGVudCIsIkFUVFJfaWRlbnRpdHlUeXBlTmFtZSI6IuWtpueUnyIsIkFUVFJfb3JnYW5pemF0aW9uTmFtZSI6IuS_oeaBr-enkeWtpuS4juaKgOacr-WtpumZoiIsIkFUVFJfdXNlck5hbWUiOiLnjovosKYiLCJleHAiOjE3MDE0MjI4MjgsIkFUVFJfb3JnYW5pemF0aW9uSWQiOiJGMjAwMDAwIiwiaWF0IjoxNzAxMjUwMDI4LCJqdGkiOiJJRC1Ub2tlbi01NjMyMTQtYVZGb3gtMmFXek5hMmExNHhLU01vbHdFaVk1M05tYi0iLCJyZXEiOiLlrablt6UiLCJBVFRSX29yZ2FuaXphdGlvbkNvZGUiOiJGMjAwMDAwIn0.V3jkG6SPwklSoN8KnqcT1Q3FAB_pzg3SCC-WPy-Pl740LbsMM6yNXbHVZPnZhXQ1kHZAY0TAa4Z9_usOx2pZPhtlTzahLlBKypKRyQ9a2Ov4l-RGVwfar_NnaES5me3BpllfK2jICtf20k1xv0jaOozON-SavNeGL6ugGfkAP_aM06TK4AiE5LxT0AxsMJ0uEhbvsCNd-a8fJ0KXhGECGYldf2gMQErQ8Sovr7c1lUDJWt1Z7vzfpfsSXTYMYNDtQlC5H1fbUUha-fQcIXVRj9BqIWPdb8Rk84hWf-AvZ1Rtd0gaOml5XeJ1wLQz1HUdec_3WwlPN6jBlyO5KS4o-g'
        },
    ],
    [
        "周江奇", "1981885070@qq.com", "1681596320795787279",
        {
            'content-type': 'application/json;charset=UTF-8',
            'User-Ag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zUg-wovW55OWVyvaeXL3hil2ef8zYTOB7B882h-1CJNuHLAYqB-oZ7N9nVk8EnC9LRHJSMVN1ItJHSBaQJmwyFTS7Az5Ag'
        },
    ],
    [
        "周炜骏", "2593748812@qq.com", "1681596311660593154",
        {
            'content-type': 'application/json;charset=UTF-8',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0',
            'X-Id-Token': 'eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJiMjMwMTUxMzkiLCJpc3MiOiJjYXMuc2FuZGF1LmVkdS5jbiIsIkFUVFJfaWRlbnRpdHlUeXBlSWQiOiI2NmI4ODI2MDAxOGMxMWVjZTM0ZWQxMjUyMDU5YWVjNyIsIkFUVFJfYWNjb3VudElkIjoiODU4NzM3NTAzZjMyMTFlZTM1NmU5Y2MxNzBhYmExYWEiLCJBVFRSX3VzZXJJZCI6Ijg1NzczMWMwM2YzMjExZWUzNTZlOWNjMTcwYWJhMWFhIiwiQVRUUl9uYW1lIjoi5ZGo54Kc6aqPIiwiQVRUUl9pZGVudGl0eVR5cGVDb2RlIjoic3R1ZGVudCIsIkFUVFJfaWRlbnRpdHlUeXBlTmFtZSI6IuWtpueUnyIsIkFUVFJfb3JnYW5pemF0aW9uTmFtZSI6IuS_oeaBr-enkeWtpuS4juaKgOacr-WtpumZoiIsIkFUVFJfdXNlck5hbWUiOiLlkajngpzpqo8iLCJleHAiOjE3MDE0MjI2NDIsIkFUVFJfb3JnYW5pemF0aW9uSWQiOiJGMjAwMDAwIiwiaWF0IjoxNzAxMjQ5ODQyLCJqdGkiOiJJRC1Ub2tlbi01NjMxOTctSXFkdVNad0xYM0Fsc2hoM0hEWVUxVXgtMHFNYjdXRTkiLCJyZXEiOiLlrablt6UiLCJBVFRSX29yZ2FuaXphdGlvbkNvZGUiOiJGMjAwMDAwIn0.g2_ZUQomKpcI0CDX6ATMYy9c7P7807Udn8v2TwxCZ-i_lS3e4Z2zY7TOF6Atc7fIwjn_rnlTShNcBsWgoKNBkK0Jx0BeTLZla2yNCsdzRWWTLlI7e8eVDtkQvsPdgyxkASshPieMSHygwhIxgYwdzcEGicBpWkH9rDCHDt8g2zMFERc4DA18a-tWrzN9-Jof879af1lSAX0h9rIWXJuw2fKkhJQpwhfKQyVJ_wuqpsm34nvqJI1mSc1CcW9eaumMLEHqXlqBEqGZ2Nbw0zOI_M7O5w9-uK0rLfWcw3ppGYjtQhhKA5rNzm9qK7p3N8jx95PhnH6bhMQ28HdTOP0nMg'
        },
    ],
    [
        "周炜骏的朋友", "769704471@qq.com", "", {}
    ],
]
headers_list = [item[3] for item in info_list if item[3]]
noActivityName = ["12月献血"]


class User:
    name = ""  # 姓名
    mail_to = ""  # 邮箱
    studentId = ""  # 账号id
    headers = {}  # 请求头

    def __init__(self, _name, _mail_to, _studentId, _headers):
        self.name = _name
        self.mail_to = _mail_to
        self.studentId = _studentId
        self.headers = _headers


Users = [User(info[0], info[1], info[2], info[3]) for info in info_list]
# for item in Users:
#     print(item.name, item.mail_to, item.studentId)
